﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VolunteerDetails.ascx.cs"
    Inherits="ServicesDirectory.UserControl.VolunteerDetails" %>
<%@ Register TagPrefix="uc2" TagName="ListContact" Src="~/UserControl/ListContact.ascx" %>
<div class="bgManager">
    <div class="TitleManarer">
        Volunteering Opportunity Details
    </div>
    <div id="tabs_container">
        <ul id="tabs">
            <li><a href="#tab1">Details</a></li>            
            <div class="topbutton">
                <asp:Button ID="BtnInactive" runat="server" Text="In-Active" CssClass="button" />&nbsp;
                <asp:Button runat="server" Text="Save" ID="cmdSave" CssClass="button"/>&nbsp;
                <asp:Button runat="server" Text="Back" ID="cmdBack" CssClass="button" OnClick="CmdBackClick" />
            </div>
        </ul>
    </div>
    <div id="tabs_content_container">
        <div id="tab1" class="tab_content" style="display: block;">
            <div class="ManagerContentBorder">
                <div class="spaceManager">
                </div>
                <div class="titleCol1">
                    Volunteering Contact <span class="mandatoryFields">*</span>
                </div>
                <div class="titleCol2">
                    <asp:TextBox ID="TextBox1" Enabled="False" runat="server" Width="65%"></asp:TextBox>
                    &nbsp;
                    <asp:LinkButton runat="server" CausesValidation="False" ID="LbtLookupContact" Text="Lookup"
                        OnClick="LbtLookupContact_Click"></asp:LinkButton>
                </div>                
                <div class="spaceManager">
                </div>
                <div class="titleCol1">
                    Volunteering Purpose
                </div>
                <div class="titleCol2">
                    <asp:TextBox runat="server" TextMode="MultiLine" Rows="3" ID="TxtPurpose"
                        Width="100%" MaxLength="50"></asp:TextBox>                    
                </div>                
                <div class="spaceManager">
                </div>
                <div class="titleCol1">
                    Volunteering Opportunity Details
                </div>
                <div class="titleCol2">
                    <asp:TextBox runat="server" TextMode="MultiLine" Rows="3" ID="TextBox2"
                        Width="100%" MaxLength="50"></asp:TextBox>   
                </div>
                <div class="spaceManager">
                </div>
                <div class="titleCol1">
                    Start Date
                </div>
                <div class="titleCol2">
                    <asp:TextBox ID="TxtStartDate" runat="server" Enabled="False" Width="80%"></asp:TextBox>
                    <img border="0px" onclick="displayCalendar(document.forms[0].ctl00_cphContain_ServiceDetail1_ServiceDetail11_TxtStartDate,'dd/mm/yyyy',this)"
                    src="../Resources/Images/calendar.png" />
                </div>                
                <div class="spaceManager">
                </div>
                <div class="titleCol1">
                    End Date
                </div>
                <div class="titleCol2">
                    <asp:TextBox ID="TxtEndDate" runat="server" Enabled="False" Width="80%"></asp:TextBox>
                    <img border="0px" onclick="displayCalendar(document.forms[0].ctl00_cphContain_ServiceDetail1_ServiceDetail11_TxtStartDate,'dd/mm/yyyy',this)"
                    src="../Resources/Images/calendar.png" />
                </div>
                <div class="spaceManager">
                </div>
                <div class="titleCol1">
                    Volunteer Nos
                </div>
                <div class="titleCol2">
                    <asp:TextBox ID="TextBox3" runat="server" Width="100%"></asp:TextBox>
                </div>                
                <div class="spaceManager">
                </div>
                <asp:Label ID="LblStatus" runat="server"></asp:Label>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List"
                    EnableClientScript="True" />
            </div>
            <asp:HiddenField ID="hdfBusinessId" runat="server" />
            <asp:HiddenField ID="hdfContactId" runat="server" />
            <asp:HiddenField ID="hdfAddressId" runat="server" />
        </div>
    </div>
</div>
<asp:Panel ID="plLookupContact" runat="server" Visible="false" CssClass="web_dialog">
    <uc2:ListContact ID="ListContact1" runat="server" />
</asp:Panel>
